<!--
 * @Author: maomao
 * @Date: 2021-03-24 18:51:03
 * @Description: 
 * @FilePath: \client-app\src\layouts\blank.vue
-->
<template>
  <slot />
</template>

<script>
// import DxScrollView from "devextreme-vue/scroll-view";

import { useRoute } from "vue-router";
import { watch, ref } from "vue";

export default {
  components: {
    // DxScrollView
  },
  setup() {
    const route = useRoute();

    const title = ref(route.meta.title);
    const description = ref("");

    watch(
      () => route.path,
      () => {
        title.value = route.meta.title;
        description.value = route.meta.description;
      }
    );
    return {
      title,
      description,
    };
  },
};
</script>

<style lang="scss">
</style>
